package com.platform.config.properties;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;
import java.util.Map;

/**
 * Description: 安全配置
 *
 * @author libin Created on 2019/8/26
 **/
@Data
@ConfigurationProperties(prefix="custom.security")
public class CustomSecurityProperties {
    public static final String ALL = "*";
    public static final String SEPARATOR = ",";
    private boolean loginValid = true;
    private boolean enableCaptcha = true;
    private List<String> permitAll;
    private Map<String, String> urlRoles;
}
